package com.linln.modules.roadrescue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.roadrescue.domain.RoadRescue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
* @Project: timo
* @Package com.linln.modules.roadrescue.mapper
* @Descriptio
/**
* @Project: timo
* @Package com.linln.modules.roadrescue.mapper
* @Description: TODO
* @author : pengliang
* @date Date : 2021年01月07日 10:24
* @version V1.0
*/
@Mapper
@Component
public interface RoadRescueMapper extends BaseMapper<RoadRescue> {
    //获取道路救援记录
    List<RoadRescue>  selectRoadRescue(@Param("search") String search,@Param("status") Integer status,@Param("userId")Long userId);
    //更新救援状态
    boolean updateRoadRescueStatus(@Param("rrId") String rrId,@Param("status") Integer status,@Param("statusNotes") String statusNotes, @Param("handlerDate")String handlerDate);
}
